<?php 
namespace app\index\controller;
use think\Controller;

class Logincheck extends Controller{
	function _initialize(){
		if(!session('?client')){
			$this->redirect("location:index/index/index");
			exit;
		}
	}
}